package com.dongdongshop.serviec.brand;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.seller.TbGoodsDescMapper;
import com.dongdongshop.pojo.seller.TbGoodsDesc;
import com.dongdongshop.service.GoodsDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
@Service
public class GoodsDescServiceImpl implements GoodsDescService {
    @Resource
    private TbGoodsDescMapper tbGoodsDescMapper;
    @Override
    public TbGoodsDesc getGoodsById(Long goodsId) {
        return tbGoodsDescMapper.selectByPrimaryKey(goodsId);
    }
}
